<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
			<div class="col-md-12" id="content_div">
				<div id="tb" style="height:auto;">
					<jsp:include page="/WEB-INF/page/auth/localinfo.jsp" />
					<form id="studentSearchForm" class="ml10">
						星期：
						<select class="form-control1" name="week" id="week">
							<option value="">请选择</option>
							<option value="1">星期一</option>
							<option value="2">星期二</option>
							<option value="3">星期三</option>
							<option value="4">星期四</option>
							<option value="5">星期五</option>
							<option value="6">星期六</option>
							<option value="7">星期七</option>
						</select>
						晚修：
						<select class="form-control1" name="coachType" id="coachType">
							<option value="">请选择</option>
							<option value="2">晚修一</option>
							<option value="3">晚修二</option>
						</select>
						班级：
						<input id="classId" name="classId" type="number" class="easyui-validatebox" style="width:120px;">
						教师姓名：
						<input id="teacherName" name="teacherName" class="easyui-validatebox" style="width:120px;">
						<a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('studentSearchForm')">查询</a>
						<a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('studentSearchForm')">重置</a>
	 					<div class="mt10">
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="dgUpdate('studentDg')">修改</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" onclick="dgReject('studentDg')">取消</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save('studentDg')">保存</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-tip',plain:true" onclick="downloadTemplate('晚修辅导教师名单.xls')">下载excel模板</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-smartart',plain:true" onclick="upload()">导入</a>
						</div>
					</form>
				</div>
				
				<table id="studentDg" class="easyui-datagrid" style="height: 600;"></table>
				
			</div>
		</div>
	</div>
	
	<div id="uploadBox" style="display: none;height: 'auto';">
	    <div class="col-md-12 pd20">
   			<form id="uploadForm" novalidate="novalidate" enctype="multipart/form-data" method="post">
				<div class="form-group col-md-12 mt20">
					<input class="easyui-filebox form-control" id="files" name="files" style="width:250px;">
				</div>
			</form>
		</div>
	    <div class="text-center pd20">
	        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="uploadCommit()" style="width: 200px;">上传</a>
	    </div>
	</div>
	
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript" src="<%=basePath %>/js/sys/lateCoach.js"></script>
</body>
</html>